package com.example.demo.service;

import com.example.demo.pojo.dto.SubjectFileDTO;
import com.example.demo.pojo.entity.SubjectFile;
import com.example.demo.pojo.query.FileQuery;
import com.example.demo.pojo.vo.SubjectFileShowVO;
import com.example.demo.exception.MyUncheckedException;
import java.util.List;

public interface ISubjectFileService {
    int addFile(SubjectFileDTO subjectFileDTO);

    List<SubjectFileShowVO> initFile(FileQuery fileQuery);

    SubjectFile copySubjectFile(int subjectFileId,int goalSubjectFileId);

    SubjectFile shiftSubjectFile(int subjectFileId,int goalSubjectFileId);

    SubjectFile searchById(int fileId);

    SubjectFile updateFile(SubjectFileDTO subjectFileDTO) ;

    boolean deleteFile(int subjectFileId) throws MyUncheckedException;
}
